﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Data.SqlClient;

namespace Benchmark.Db.Adapter.MsSql
{
    public class LinqToSqlDataContext<T> : DataContext
        where T : class
    {
        public LinqToSqlDataContext(SqlConnection connection)
            : base(connection)
        {

        }

        public Table<T> Entities
        {
            get
            {
                return this.GetTable<T>();
            }
        }

    }
}
